<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/29
  Time: 14:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <style>
        body{
            text-align: center;
        }
        div,form{
            margin: auto auto;

        }
    </style>
</head>
<body>
<div>
    <form action="/student" method="post">
        <h2>修改信息</h2><br>
        <input type="hidden" value="updateInfo" name="action">
            <input type="hidden" value="${student.id}" name="id">
        姓名：<input type="text" name="name" value="${student.name}"><br>
        年龄：<input type="text" name="age"  value="${student.age}"><br>
        性别：<input type="text" name="sex"  value="${student.sex}"><br>
        住址：<input type="text" name="address" value="${student.address}"><br>
        学校：<input type="text" name="school" value="${student.school}"><br>
        <input type="submit" value="修改">
    </form>
</div>
</body>
</html>
